import { http } from '@/plugin/axios/index.js'
export default {
  getShopList (params) {
    return http.get('', params)
  },
  // 获取地市列表
  cityList (params) {
    return http.get('/manage/common/cityList', params)
  },
  // 获取区县列表
  countyList (params) {
    return http.get('/manage/common/countyList', { queryParam: params })
  },
  // 获取订单列表
  getOrderNumListByPage (params) {
    return http.get('manage/toolkit/getOrderNumListByPage', { queryParam: params })
  },
  // 获取订单详情
  getOrderNumDetail (params) {
    return http.get('/manage/toolkit/getOrderNumDetail', { queryParam: params })
  },
  // 获取套餐列表
  getTcList (params) {
    return http.get('/manage/toolkit/getTcList', { queryParam: params })
  },
  // 修改/新增门店
  saveShop (params) {
    return http.get('/manage/toolkit/saveShop', { queryParam: params })
  }
}
